package cn.yunyichina.provider.iface.entity.pay.notify;

import cn.yunyichina.provider.iface.entity.pay.MchData;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 统一支付通知对象
 * Created by Lullaby on 2017/6/19.
 */
@Getter
@Setter
public class UnifiedPayNotifyMessage implements Serializable {

    private String tradeStatus; //支付状态(SUCCESS-成功/FAIL-失败)

    private String appId; //支付APPID

    private String openId; //支付平台用户ID

    private String payAmount; //用户支付金额即自费金额(金额单位均为分)

    private String insuranceAmount; //医保金额

    private String totalAmount; //订单总金额

    private String orderNo; //商户订单号

    private String tradeNo; //支付平台交易订单号

    private String payTime; //支付完成时间(格式yyyy-MM-dd HH:mm:ss)

    private String medicalContent; //医保挂号黑盒结构体

    private MchData mchData; //商户透传数据

}
